﻿using KeYan.Service.Common.Enum;
using KeYan.Service.Model.UserLogin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KeYan.Service.IService.UserLogin
{
    public interface IUserService
    {
        /// <summary>
        /// ids4登录
        /// </summary>
        /// <param name="LoginName">登录名</param>
        /// <param name="LoginPwd">密码</param>
        /// <returns></returns>
        Task<Resilt<string>> GetIdsTokenAsync(string LoginName, string LoginPwd);
        /// <summary>
        /// 手机号登录
        /// </summary>
        /// <param name="Tel">手机号</param>
        /// <param name="Pwd">密码</param>
        /// <returns></returns>
        Task<Resilt<int>> PhoneLogin(string Tel,string Pwd);
    }
}
